//  版心
// width:1200px;
// margin:0 auto;
header {
    width: 100%;
    background: #fff;
    border-bottom: 2px solid #cd2f18;

    section {
        width: 1200px;
        margin: 0 auto;

        h1 {
            float: left;
        }

        nav {
            float: left;
            height: 100%;
            margin-left: 52px;

            li {
                float: left;
                height: 100%;

                a{
                    display: block;
                    height: 100%;
                    font-size: 12px;
                    color: #333333;
                    padding: 0 16px;
                    line-height: 82px;
                    height: 100%;
                }
            }

            .active  a{
                color: #c92007;
            }
        }

        aside {
            float: right;
            line-height: 82px;
            color: #c92007;
            margin-right: 46px;

            .isize {
                font-size: 26px;
                display: inline-block;
                vertical-align: middle;
            }
        }
    }

}
#banner {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 368px;
    min-width: 1024px;
    position: relative;

    .banner_pic {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        max-width: 1920px;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    hgroup {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -75%);
        text-align: center;

        h4 {
            font-size: 56px;
            color: white;
            margin-bottom: 10px;
        }

        h6 {
            font-size: 20px;
            color: white;
        }
    }

}
main{
    .section1{
        background: #f5f5f5;
        hgroup{
            padding-top: 80px;
            padding-bottom: 50px;
            text-align: center;
            h3{
                font-size: 30px;
                color: #333333;
            }
            h6{
                display: inline-block;
                width: 42px;
                height: 2px;
                background: #c92007;
            }
            h4{
                font-size: 28px;
                color: #333333;
            }
        }
        article{
            display: flex;
            justify-content: center;
            padding-bottom: 38px;
            figure{
                width: 288px;
                margin-right: 16px;
                &:last-child{
                    margin-right: 0px;
                }
                div{
                    padding: 18px;
                    box-sizing: border-box;
                    background: #fff;
                    h5{
                        padding-bottom: 10px;
                        width: 100%;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }
                    h6{
                        width: 28px;
                        height: 2px;
                        background: #c92007;
                        margin-bottom: 16px;
                    }
                    p{
                        line-height: 24px;
                        color: #999999;
                        font-size: 12px;
                    }
                    a{
                        display: block;
                        margin-top: 16px;
                        color: #999999;
                    }
                }
            }
        }
        aside{
            text-align: center;
            padding-bottom: 72px;
            a{

                color: #c92007;
                border: 1px solid #c92007;
                padding: 10px 46px;
            }
        }
    }
    .section2{
        hgroup{
            padding-top: 80px;
            padding-bottom: 50px;
            text-align: center;
            h3{
                font-size: 30px;
                color: #333333;
            }
            h6{
                display: inline-block;
                width: 42px;
                height: 2px;
                background: #c92007;
            }
            h4{
                font-size: 28px;
                color: #333333;
            }
        }
        article{
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
            grid-template-rows: 123px 123px;
            grid-gap: 1px;
            width:1200px;
            margin:0 auto;
            background: #dadada;
            border: 1px solid #dadada;
            margin-bottom: 50px;
        }
        aside{
            text-align: center;
            margin-bottom: 147px;
            a{
                width: 128px;
                height: 33px;
                box-sizing: border-box;
                text-align: center;
                line-height: 31px;
                display: inline-block;
                
                &:first-child{
                    color: #ecb1a8;
                    border: 1px solid #ecb1a8;
                    margin-right: 22px;
                    cursor: not-allowed;
                }
                &:last-child{
                    color: #c92007;
                    border: 1px solid #c92007;
                }
            }
            
            
        }
    }
}
footer {
    background: #dadada;
    width: 100%;

    section {
        width: 1200px;
        margin: 0 auto;
        padding-top: 42px;

        div {
            float: right;
            float: left;
            .icolor {
                color: #c92007;
                margin-right: 12px;
            }

            &:first-child {
                margin-right: 76px;
                h4 {
                    line-height: 42px;
                    font-weight: normal;

                }

                padding-right: 130px;
                border-right: 1px solid #c9c9c9;
                padding-bottom: 20px;
            }

            figure {
                &:first-child {
                    display: flex;
                    margin-top: 20px;
                    margin-bottom: 30px;
                    .icolor {
                        font-size: 40px;

                    }

                    p {
                        font-size: 14px;
                    }

                    span {
                        font-size: 20px;
                        color: #c92007;
                    }
                }
                &:last-child {
                    text-align: center;
                    
                    img{
                        display: inline-block;
                    }
                    span{
                        display: inline-block;
                        margin-top: 35px;
                        font-size: 12px;
                        color: #6d6d6d;
                    }
                }
            }
            &:last-child{
                float: right;
            }
            form{
                width: 328px;
                input,textarea{
                    width: 100%;
                    border: 0;
                    background: #bbbbbb;
                    color: #eee;
                    padding: 15px 22px;
                    box-sizing: border-box;
                    margin-bottom: 8px;
                    outline: none;
                }
                button{
                    width: 100%;
                    color: #fff;
                    background: #c92007;
                    padding: 15px 0 ;
                }
            }
        }
    }
    p{
        border-top: 1px solid #c9c9c9;
        text-align: center;
        font-size: 12px;
        color: #666666;
        line-height: 45px;
    }
}